{% extends 'GlpmrQuizzBundle:Layout:layout.html.twig' %}



{% block body %}
    {% if listQuizz is empty %}
        <div class="row">
            <h1>Aucun quizz disponible pour la promotion {{ app.user.promotion.libelle }}
        </div>
    {% else %}
        {% for quizz in listQuizz %}
            <div class="row">
                <h1>{{ quizz.titre }}</h1>
                <p>
                    {{ quizz.description }}
                </p>
                <button class="btn waves-efect waves-light blue-grey darken-4">Acc&eacute;der aux questions</button>
            </div>
        {% endfor %}
    {% endif %}
{% endblock %}